<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: yLib::yConfig Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classyLib_1_1yConfig.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classyLib_1_1yConfig-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">yLib::yConfig Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This is a tool to parse a cfg-file that is like c.  
 <a href="classyLib_1_1yConfig.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="yconfig_8hpp_source.html">yconfig.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for yLib::yConfig:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classyLib_1_1yConfig.png" usemap="#yLib::yConfig_map" alt=""/>
  <map id="yLib::yConfig_map" name="yLib::yConfig_map">
<area href="classyLib_1_1yObject.html" title="This is base-class of the all object in yLib." alt="yLib::yObject" shape="rect" coords="0,0,86,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac9551c5ce0183bbfd92fc9ab05ff54ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#ac9551c5ce0183bbfd92fc9ab05ff54ef">yConfig</a> ()</td></tr>
<tr class="separator:ac9551c5ce0183bbfd92fc9ab05ff54ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9281679e3bd88192f89223d05aba12be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#a9281679e3bd88192f89223d05aba12be">~yConfig</a> ()</td></tr>
<tr class="separator:a9281679e3bd88192f89223d05aba12be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2b115c227214b762f431824b9e19851"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#ad2b115c227214b762f431824b9e19851">yConfig</a> (const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;config_)=delete</td></tr>
<tr class="memdesc:ad2b115c227214b762f431824b9e19851"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy constructor  <a href="classyLib_1_1yConfig.html#ad2b115c227214b762f431824b9e19851">More...</a><br /></td></tr>
<tr class="separator:ad2b115c227214b762f431824b9e19851"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa543c4ccae607127eade86e8eeaa03e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#aaa543c4ccae607127eade86e8eeaa03e">operator=</a> (const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;config_)=delete</td></tr>
<tr class="memdesc:aaa543c4ccae607127eade86e8eeaa03e"><td class="mdescLeft">&#160;</td><td class="mdescRight">assignment func  <a href="classyLib_1_1yConfig.html#aaa543c4ccae607127eade86e8eeaa03e">More...</a><br /></td></tr>
<tr class="separator:aaa543c4ccae607127eade86e8eeaa03e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a057d77e66c1121a8023bc905434770c7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#a057d77e66c1121a8023bc905434770c7">yConfig</a> (const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&amp;config_)=delete</td></tr>
<tr class="memdesc:a057d77e66c1121a8023bc905434770c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">move constructor  <a href="classyLib_1_1yConfig.html#a057d77e66c1121a8023bc905434770c7">More...</a><br /></td></tr>
<tr class="separator:a057d77e66c1121a8023bc905434770c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa58607ff6fb45235cff11a09cc951b5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#aa58607ff6fb45235cff11a09cc951b5c">operator=</a> (const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&amp;config_)=delete</td></tr>
<tr class="memdesc:aa58607ff6fb45235cff11a09cc951b5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">assignment func  <a href="classyLib_1_1yConfig.html#aa58607ff6fb45235cff11a09cc951b5c">More...</a><br /></td></tr>
<tr class="separator:aa58607ff6fb45235cff11a09cc951b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1cb8bb7d528ac2979aa7a2cbecac6e0"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#aa1cb8bb7d528ac2979aa7a2cbecac6e0">ReadFile</a> (const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;file_path_)</td></tr>
<tr class="memdesc:aa1cb8bb7d528ac2979aa7a2cbecac6e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">read cfg-file from disk.  <a href="classyLib_1_1yConfig.html#aa1cb8bb7d528ac2979aa7a2cbecac6e0">More...</a><br /></td></tr>
<tr class="separator:aa1cb8bb7d528ac2979aa7a2cbecac6e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58efbd759e4f0240d8dcb7583f392421"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#a58efbd759e4f0240d8dcb7583f392421">WriteFile</a> (const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;file_path_)</td></tr>
<tr class="memdesc:a58efbd759e4f0240d8dcb7583f392421"><td class="mdescLeft">&#160;</td><td class="mdescRight">write cfg-file to disk.  <a href="classyLib_1_1yConfig.html#a58efbd759e4f0240d8dcb7583f392421">More...</a><br /></td></tr>
<tr class="separator:a58efbd759e4f0240d8dcb7583f392421"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acde3da0df3be69fe498953c67cc1b03b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#acde3da0df3be69fe498953c67cc1b03b">GetValue</a> (const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;node_path_)</td></tr>
<tr class="memdesc:acde3da0df3be69fe498953c67cc1b03b"><td class="mdescLeft">&#160;</td><td class="mdescRight">get value by node-path.  <a href="classyLib_1_1yConfig.html#acde3da0df3be69fe498953c67cc1b03b">More...</a><br /></td></tr>
<tr class="separator:acde3da0df3be69fe498953c67cc1b03b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7002cc95e08e8c750651d15fc79951be"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#a7002cc95e08e8c750651d15fc79951be">SetValue</a> (const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;node_path_, const <a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a> &amp;value_)</td></tr>
<tr class="memdesc:a7002cc95e08e8c750651d15fc79951be"><td class="mdescLeft">&#160;</td><td class="mdescRight">get value by node-path.  <a href="classyLib_1_1yConfig.html#a7002cc95e08e8c750651d15fc79951be">More...</a><br /></td></tr>
<tr class="separator:a7002cc95e08e8c750651d15fc79951be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90bd8857e345191563d530f1acde5447"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#a90bd8857e345191563d530f1acde5447">AddNode</a> (const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;pos_, const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;name_, <a class="el" href="classyLib_1_1yValue.html#ad30bf06e744fa772021a7cc4936e9be2">yValue::yValueType</a> type_, const <a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a> &amp;value_=<a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a>())</td></tr>
<tr class="separator:a90bd8857e345191563d530f1acde5447"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classyLib_1_1yObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyLib_1_1yObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyLib_1_1yObject.html">yLib::yObject</a></td></tr>
<tr class="memitem:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a4f7523f70c3832ac47812ca5d366adca">yObject</a> ()</td></tr>
<tr class="memdesc:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="classyLib_1_1yObject.html#a4f7523f70c3832ac47812ca5d366adca">More...</a><br /></td></tr>
<tr class="separator:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a0e54fc8334031b969dbc4a4d45c489b3">yObject</a> (<a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> object_name_)</td></tr>
<tr class="memdesc:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override constructor.  <a href="classyLib_1_1yObject.html#a0e54fc8334031b969dbc4a4d45c489b3">More...</a><br /></td></tr>
<tr class="separator:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a94c1477907a7d2cad4ee2ad321ba571a">yObject</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;object_)=delete</td></tr>
<tr class="memdesc:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="classyLib_1_1yObject.html#a94c1477907a7d2cad4ee2ad321ba571a">More...</a><br /></td></tr>
<tr class="separator:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a5bdd44e891dc768a9a414618756818fd">operator=</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;object_)=delete</td></tr>
<tr class="memdesc:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment constructor.  <a href="classyLib_1_1yObject.html#a5bdd44e891dc768a9a414618756818fd">More...</a><br /></td></tr>
<tr class="separator:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a409ebd4dd4b5b5ca41de594eb6a6980b">yObject</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&amp;object_)=delete</td></tr>
<tr class="memdesc:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor.  <a href="classyLib_1_1yObject.html#a409ebd4dd4b5b5ca41de594eb6a6980b">More...</a><br /></td></tr>
<tr class="separator:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a0aebad488c9d1f92f89f3074a23a3f90">operator=</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&amp;object_)=delete</td></tr>
<tr class="memdesc:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment constructor.  <a href="classyLib_1_1yObject.html#a0aebad488c9d1f92f89f3074a23a3f90">More...</a><br /></td></tr>
<tr class="separator:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a19061becef2eb18430987e9024d92a5b">~yObject</a> ()</td></tr>
<tr class="memdesc:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="classyLib_1_1yObject.html#a19061becef2eb18430987e9024d92a5b">More...</a><br /></td></tr>
<tr class="separator:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a9a01d2ffd41c92d76b682f68581273a1"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yConfig.html#a9a01d2ffd41c92d76b682f68581273a1">config_instance</a></td></tr>
<tr class="separator:a9a01d2ffd41c92d76b682f68581273a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classyLib_1_1yObject"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classyLib_1_1yObject')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classyLib_1_1yObject.html">yLib::yObject</a></td></tr>
<tr class="memitem:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a2db8b0c6fba5a9137092715442866090">object_name</a></td></tr>
<tr class="memdesc:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">The object-name.  <a href="classyLib_1_1yObject.html#a2db8b0c6fba5a9137092715442866090">More...</a><br /></td></tr>
<tr class="separator:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This is a tool to parse a cfg-file that is like c. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac9551c5ce0183bbfd92fc9ab05ff54ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9551c5ce0183bbfd92fc9ab05ff54ef">&#9670;&nbsp;</a></span>yConfig() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">yLib::yConfig::yConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9281679e3bd88192f89223d05aba12be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9281679e3bd88192f89223d05aba12be">&#9670;&nbsp;</a></span>~yConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">yLib::yConfig::~yConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad2b115c227214b762f431824b9e19851"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2b115c227214b762f431824b9e19851">&#9670;&nbsp;</a></span>yConfig() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">yLib::yConfig::yConfig </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>copy constructor </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">config_</td><td>a exsited obj </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>this op is disable. </dd></dl>

</div>
</div>
<a id="a057d77e66c1121a8023bc905434770c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a057d77e66c1121a8023bc905434770c7">&#9670;&nbsp;</a></span>yConfig() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">yLib::yConfig::yConfig </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>config_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>move constructor </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">config_</td><td>a exsited obj </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>this op is disable. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a90bd8857e345191563d530f1acde5447"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90bd8857e345191563d530f1acde5447">&#9670;&nbsp;</a></span>AddNode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int8_t yLib::yConfig::AddNode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>pos_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>name_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yValue.html#ad30bf06e744fa772021a7cc4936e9be2">yValue::yValueType</a>&#160;</td>
          <td class="paramname"><em>type_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a> &amp;&#160;</td>
          <td class="paramname"><em>value_</em> = <code><a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acde3da0df3be69fe498953c67cc1b03b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acde3da0df3be69fe498953c67cc1b03b">&#9670;&nbsp;</a></span>GetValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a> yLib::yConfig::GetValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>node_path_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get value by node-path. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node_path_</td><td>the path of node. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the value of node-path. </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>

</div>
</div>
<a id="aa58607ff6fb45235cff11a09cc951b5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa58607ff6fb45235cff11a09cc951b5c">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp; yLib::yConfig::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>config_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>assignment func </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">config_</td><td>a exsited obj </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the obj of <a class="el" href="classyLib_1_1yConfig.html" title="This is a tool to parse a cfg-file that is like c.">yConfig</a> </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>this op is disable. </dd></dl>

</div>
</div>
<a id="aaa543c4ccae607127eade86e8eeaa03e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa543c4ccae607127eade86e8eeaa03e">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp; yLib::yConfig::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yConfig.html">yConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>assignment func </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">config_</td><td>a exsited obj </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the obj of <a class="el" href="classyLib_1_1yConfig.html" title="This is a tool to parse a cfg-file that is like c.">yConfig</a> </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>this op is disable. </dd></dl>

</div>
</div>
<a id="aa1cb8bb7d528ac2979aa7a2cbecac6e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1cb8bb7d528ac2979aa7a2cbecac6e0">&#9670;&nbsp;</a></span>ReadFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int8_t yLib::yConfig::ReadFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>file_path_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>read cfg-file from disk. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_path_</td><td>the path of cfg-file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the op status </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>ok. </td></tr>
    <tr><td class="paramname">-1</td><td>error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>

</div>
</div>
<a id="a7002cc95e08e8c750651d15fc79951be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7002cc95e08e8c750651d15fc79951be">&#9670;&nbsp;</a></span>SetValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int yLib::yConfig::SetValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>node_path_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classyLib_1_1yConfigValue.html">yConfigValue</a> &amp;&#160;</td>
          <td class="paramname"><em>value_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get value by node-path. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">node_path_</td><td>the path of node. </td></tr>
    <tr><td class="paramname">value_</td><td>the value to set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the status of op. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>ok. </td></tr>
    <tr><td class="paramname">-1</td><td>error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pos_</td><td>the position of node. </td></tr>
    <tr><td class="paramname">name_</td><td>the name of node. </td></tr>
    <tr><td class="paramname">type_</td><td>the type of value.we only support int32_t/bool/float/std<a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">string</a>/group. </td></tr>
    <tr><td class="paramname">value_</td><td>the value to set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the status of op. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>ok. </td></tr>
    <tr><td class="paramname">-1</td><td>error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd>if pos_ == '.' or "", we will add node to root </dd></dl>

</div>
</div>
<a id="a58efbd759e4f0240d8dcb7583f392421"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58efbd759e4f0240d8dcb7583f392421">&#9670;&nbsp;</a></span>WriteFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int8_t yLib::yConfig::WriteFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>file_path_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>write cfg-file to disk. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_path_</td><td>the path of cfg-file </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the status of op. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>ok. </td></tr>
    <tr><td class="paramname">-1</td><td>error. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9a01d2ffd41c92d76b682f68581273a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a01d2ffd41c92d76b682f68581273a1">&#9670;&nbsp;</a></span>config_instance</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* yLib::yConfig::config_instance</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/sky/yLib/include/utility/<a class="el" href="yconfig_8hpp_source.html">yconfig.hpp</a></li>
<li>/home/sky/yLib/src/utility/<a class="el" href="yconfig_8cpp.html">yconfig.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceyLib.html">yLib</a></li><li class="navelem"><a class="el" href="classyLib_1_1yConfig.html">yConfig</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
